﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="NewsNew.aspx.cs" Inherits="Portal_KonTum.Admin.NewsNew" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="container_12">
        
        <!-- Dashboard icons -->
        <div class="grid_7">
            <a class="dashboard-module" href="NewsMn.aspx">
            <img alt="edit" height="64" src="css/images/Crystal_Clear_write.gif" 
                width="64" /> <span>Quản Lý Bài Viết</span> </a>

            <a class="dashboard-module" href="CatalogyMn.aspx">
            <img alt="edit" height="64" src="css/images/Crystal_Clear_files.gif" 
                width="64" /> <span>Quản Lý Danh Mục </span></a>

            <a class="dashboard-module" href="ConfigureWeb.aspx">
            <img alt="edit" height="64" src="css/images/Crystal_Clear_settings.gif" 
                tppabs="http://www.xooom.pl/work/magicadmin/images/Crystal_Clear_settings.gif" width="64" /> <span>Cài Đặt</span> </a>
            <div style="clear: both">
            </div>
        </div>
        <!-- End .grid_7 -->
        <!-- Form elements -->    
        
        <div class="grid_12">
            <div class="module">
                
                <h2>
                    <span>Bài viết</span></h2>
                    <div class="module-body">
                        <div>
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                            class="notification n-error" />
                        <asp:Label ID="lb_note" runat="server" class="notification n-error" 
                            Enabled="False" Text="Label" Visible="False"></asp:Label>
                    </div>
                    <p>
                        <label>
                        Danh mục</label>
                        <asp:DropDownList ID="DL_cate" runat="server" class="input-short">
                        </asp:DropDownList>
                    </p>
                    <p>
                        <label>
                        Tiêu đề - Tiếng Việt</label>
                        <asp:TextBox ID="txt_title" runat="server" class="input-medium"></asp:TextBox>
                    </p>
                    <p>
                        <label>
                        Tiều đề - Tiếng anh</label>
                        <asp:TextBox ID="txt_title_en" runat="server" class="input-medium"></asp:TextBox>
                    </p>
                    <p>
                        <label>
                        Hình đại diện</label>
                        <asp:FileUpload ID="FileUpload1" class="input-medium" runat="server" />
                        <asp:Button ID="bt_upload" runat="server" class="submit-green"  Text="Tải ảnh" onclick="bt_upload_Click" />
                    </p>
                        <p>
                        <asp:Image ID="Image_hdd" runat="server" BorderStyle="Dotted" BorderWidth="1px" 
                                Height="100px" ImageUrl="~/Admin/css/images/bin.gif" Visible="False" 
                                Width="120px" />
                    </p>
                    <p>
                        <label>
                        Giới thiệu ngắn - Tiếng Việt</label>
                        <asp:TextBox ID="txt_intro" runat="server" class="input-medium" Height="100px" 
                            TextMode="MultiLine"></asp:TextBox>
                    </p>
                    <p>
                        <label>
                        Giới thiệu ngắn - Tiếng Anh</label>
                        <asp:TextBox ID="txt_introl_en" runat="server" class="input-medium" Height="100px" 
                            TextMode="MultiLine"></asp:TextBox>
                    </p>
                    <p>
                        <label>
                        Nội dung chi tiết - Tiếng Việt</label>
                        <CKEditor:CKEditorControl ID="CKEditor1" BasePath="/ckeditor/" runat="server" 
                            ToolbarFull="Source|-|Preview|-|Templates Cut|Copy|Paste|PasteText|PasteFromWord|-|Print|SpellChecker|Scayt Undo|Redo|-|Find|Replace|-|SelectAll|RemoveFormat Form|Checkbox|Radio|TextField|Textarea|Select|Button|ImageButton|HiddenField / Bold|Italic|Underline|Strike|-|Subscript|Superscript NumberedList|BulletedList|-|Outdent|Indent|Blockquote|CreateDiv JustifyLeft|JustifyCenter|JustifyRight|JustifyBlock BidiLtr|BidiRtl Link|Unlink|Anchor Image|Flash|Table|HorizontalRule|Smiley|SpecialChar|PageBreak|Iframe / Styles|Format|Font|FontSize TextColor|BGColor Maximize|ShowBlocks|-|About" 
                            UIColor="#3366CC" ResizeMinHeight="350"></CKEditor:CKEditorControl>
                    </p>
                    <p>
                        <label>
                        Nội dung chi tiết - Tiếng Anh</label>
                        <CKEditor:CKEditorControl ID="CKEditor2" BasePath="/ckeditor/" runat="server" 
                            ToolbarFull="Source|-|Preview|-|Templates Cut|Copy|Paste|PasteText|PasteFromWord|-|Print|SpellChecker|Scayt Undo|Redo|-|Find|Replace|-|SelectAll|RemoveFormat Form|Checkbox|Radio|TextField|Textarea|Select|Button|ImageButton|HiddenField / Bold|Italic|Underline|Strike|-|Subscript|Superscript NumberedList|BulletedList|-|Outdent|Indent|Blockquote|CreateDiv JustifyLeft|JustifyCenter|JustifyRight|JustifyBlock BidiLtr|BidiRtl Link|Unlink|Anchor Image|Flash|Table|HorizontalRule|Smiley|SpecialChar|PageBreak|Iframe / Styles|Format|Font|FontSize TextColor|BGColor Maximize|ShowBlocks|-|About" 
                            UIColor="#3366CC" ResizeMinHeight="350"></CKEditor:CKEditorControl>
                    </p>
                    <p>
                        <label>
                        Nguồn</label>
                        <asp:TextBox ID="txt_source" runat="server" class="input-medium"></asp:TextBox>
                    </p>
                    <p>
                        <label>
                        Hiển thị</label>
                        <asp:CheckBox ID="chk_hienthi" runat="server" />
                    </p>
                    <p>
                        <label>
                        Nổi bật</label>
                        <asp:CheckBox ID="chk_hot" runat="server" />
                    </p>
                    <fieldset>
                        <asp:Button ID="bt_save" runat="server" class="submit-green"  Text="Lưu" 
                            onclick="bt_save_Click" />
                        <asp:HyperLink ID="HyperLink1" runat="server" CssClass="submit-gray" 
                            ForeColor="White" NavigateUrl="~/Admin/NewsMn.aspx">Hủy bỏ</asp:HyperLink>
                    </fieldset>
                </div>
                <!-- End .module-body -->
            </div>
            <!-- End .module -->
        	<div style="clear:both;">
            </div>
        </div>
        <!-- End .grid_12 -->
        <!-- Settings-->
        <!-- Password -->
        <div style="clear:both;">
        </div>
    </div>
    
    <div>
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
    </div>
</asp:Content>
